package com.neusoft.ysu.npms.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 作者：刘金秋
 * @since 2024-06-18
 */
public class Area implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "areaid", type = IdType.AUTO)
    private Integer areaid;

    private Integer parentid;

    private String areaname;

    private Integer areatype;

    public Integer getAreaid() {
        return areaid;
    }

    public void setAreaid(Integer areaid) {
        this.areaid = areaid;
    }
    public Integer getParentid() {
        return parentid;
    }

    public void setParentid(Integer parentid) {
        this.parentid = parentid;
    }
    public String getAreaname() {
        return areaname;
    }

    public void setAreaname(String areaname) {
        this.areaname = areaname;
    }
    public Integer getAreatype() {
        return areatype;
    }

    public void setAreatype(Integer areatype) {
        this.areatype = areatype;
    }

    @Override
    public String toString() {
        return "Area{" +
            "areaid=" + areaid +
            ", parentid=" + parentid +
            ", areaname=" + areaname +
            ", areatype=" + areatype +
        "}";
    }
}
